<?

$eqzones = array(
  array('expansion' => 1, 'zone' => 'airplane'),
  array('expansion' => 1, 'zone' => 'akanon'),
  array('expansion' => 1, 'zone' => 'arena'),
  array('expansion' => 1, 'zone' => 'befallen'),
  array('expansion' => 1, 'zone' => 'beholder'),
  array('expansion' => 1, 'zone' => 'blackburrow'),
  array('expansion' => 1, 'zone' => 'butcher'),
  array('expansion' => 1, 'zone' => 'cauldron'),
  array('expansion' => 1, 'zone' => 'cazicthule'),
  array('expansion' => 1, 'zone' => 'commons'),
  array('expansion' => 1, 'zone' => 'crushbone'),
  array('expansion' => 1, 'zone' => 'cshome'),
  array('expansion' => 1, 'zone' => 'eastkarana'),
  array('expansion' => 1, 'zone' => 'ecommons'),
  array('expansion' => 1, 'zone' => 'erudnext'),
  array('expansion' => 1, 'zone' => 'erudnint'),
  array('expansion' => 1, 'zone' => 'erudsxing'),
  array('expansion' => 1, 'zone' => 'everfrost'),
  array('expansion' => 1, 'zone' => 'fearplane'),
  array('expansion' => 1, 'zone' => 'feerrott'),
  array('expansion' => 1, 'zone' => 'felwithea'),
  array('expansion' => 1, 'zone' => 'felwitheb'),
  array('expansion' => 1, 'zone' => 'freporte'),
  array('expansion' => 1, 'zone' => 'freportn'),
  array('expansion' => 1, 'zone' => 'freportw'),
  array('expansion' => 1, 'zone' => 'gfaydark'),
  array('expansion' => 1, 'zone' => 'gukbottom'),
  array('expansion' => 1, 'zone' => 'grobb'),
  array('expansion' => 1, 'zone' => 'guktop'),
  array('expansion' => 1, 'zone' => 'halas'),
  array('expansion' => 1, 'zone' => 'hateplane'),
  array('expansion' => 1, 'zone' => 'hateplaneb'),
  array('expansion' => 1, 'zone' => 'highkeep'),
  array('expansion' => 1, 'zone' => 'highpass'),
  array('expansion' => 1, 'zone' => 'hole'),
  array('expansion' => 1, 'zone' => 'innothule'),
  array('expansion' => 1, 'zone' => 'jaggedpine'),
  array('expansion' => 1, 'zone' => 'kaladima'),
  array('expansion' => 1, 'zone' => 'kaladimb'),
  array('expansion' => 1, 'zone' => 'kedge'),
  array('expansion' => 1, 'zone' => 'kerraridge'),
  array('expansion' => 1, 'zone' => 'kithicor'),
  array('expansion' => 1, 'zone' => 'lakerathe'),
  array('expansion' => 1, 'zone' => 'lavastorm'),
  array('expansion' => 1, 'zone' => 'lfaydark'),
  array('expansion' => 1, 'zone' => 'mistmoore'),
  array('expansion' => 1, 'zone' => 'misty'),
  array('expansion' => 1, 'zone' => 'najena'),
  array('expansion' => 1, 'zone' => 'nektulos'),
  array('expansion' => 1, 'zone' => 'neriaka'),
  array('expansion' => 1, 'zone' => 'neriakb'),
  array('expansion' => 1, 'zone' => 'neriakc'),
  array('expansion' => 1, 'zone' => 'northkarana'),
  array('expansion' => 1, 'zone' => 'nro'),
  array('expansion' => 1, 'zone' => 'oasis'),
  array('expansion' => 1, 'zone' => 'oggok'),
  array('expansion' => 1, 'zone' => 'oot'),
  array('expansion' => 1, 'zone' => 'paineel'),
  array('expansion' => 1, 'zone' => 'paw'),
  array('expansion' => 1, 'zone' => 'permafrost'),
  array('expansion' => 1, 'zone' => 'qcat'),
  array('expansion' => 1, 'zone' => 'qey2hh1'),
  array('expansion' => 1, 'zone' => 'qeynos'),
  array('expansion' => 1, 'zone' => 'qeynos2'),
  array('expansion' => 1, 'zone' => 'qeytoqrg'),
  array('expansion' => 1, 'zone' => 'qrg'),
  array('expansion' => 1, 'zone' => 'rathemtn'),
  array('expansion' => 1, 'zone' => 'rivervale'),
  array('expansion' => 1, 'zone' => 'runnyeye'),
  array('expansion' => 1, 'zone' => 'soldunga'),
  array('expansion' => 1, 'zone' => 'soldungb'),
  array('expansion' => 1, 'zone' => 'soltemple'),
  array('expansion' => 1, 'zone' => 'southkarana'),
  array('expansion' => 1, 'zone' => 'sro'),
  array('expansion' => 1, 'zone' => 'steamfont'),
  array('expansion' => 1, 'zone' => 'stonebrunt'),
  array('expansion' => 1, 'zone' => 'tox'),
  array('expansion' => 1, 'zone' => 'unrest'),
  array('expansion' => 1, 'zone' => 'tutorialb'),
  array('expansion' => 1, 'zone' => 'tutoriala'),

  array('expansion' => 2, 'zone' => 'burningwood'),
  array('expansion' => 2, 'zone' => 'cabeast'),
  array('expansion' => 2, 'zone' => 'cabwest'),
  array('expansion' => 2, 'zone' => 'charasis'),
  array('expansion' => 2, 'zone' => 'chardok'),
  array('expansion' => 2, 'zone' => 'citymist'),
  array('expansion' => 2, 'zone' => 'dalnir'),
  array('expansion' => 2, 'zone' => 'dreadlands'),
  array('expansion' => 2, 'zone' => 'droga'),
  array('expansion' => 2, 'zone' => 'emeraldjungle'),
  array('expansion' => 2, 'zone' => 'fieldofbone'),
  array('expansion' => 2, 'zone' => 'firiona'),
  array('expansion' => 2, 'zone' => 'frontiermtns'),
  array('expansion' => 2, 'zone' => 'kaesora'),
  array('expansion' => 2, 'zone' => 'karnor'),
  array('expansion' => 2, 'zone' => 'kurn'),
  array('expansion' => 2, 'zone' => 'lakeofillomen'),
  array('expansion' => 2, 'zone' => 'nurga'),
  array('expansion' => 2, 'zone' => 'overthere'),
  array('expansion' => 2, 'zone' => 'sebilis'),
  array('expansion' => 2, 'zone' => 'skyfire'),
  array('expansion' => 2, 'zone' => 'swampofnohope'),
  array('expansion' => 2, 'zone' => 'timorous'),
  array('expansion' => 2, 'zone' => 'trakanon'),
  array('expansion' => 2, 'zone' => 'veeshan'),
  array('expansion' => 2, 'zone' => 'veksar'),
  array('expansion' => 2, 'zone' => 'warrens'),
  array('expansion' => 2, 'zone' => 'warslikswood'),


  array('expansion' => 3, 'zone' => 'cobaltscar'),
  array('expansion' => 3, 'zone' => 'crystal'),
  array('expansion' => 3, 'zone' => 'eastwastes'),
  array('expansion' => 3, 'zone' => 'frozenshadow'),
  array('expansion' => 3, 'zone' => 'greatdivide'),
  array('expansion' => 3, 'zone' => 'growthplane'),
  array('expansion' => 3, 'zone' => 'iceclad'),
  array('expansion' => 3, 'zone' => 'kael'),
  array('expansion' => 3, 'zone' => 'mischiefplane'),
  array('expansion' => 3, 'zone' => 'necropolis'),
  array('expansion' => 3, 'zone' => 'sirens'),
  array('expansion' => 3, 'zone' => 'skyshrine'),
  array('expansion' => 3, 'zone' => 'sleeper'),
  array('expansion' => 3, 'zone' => 'templeveeshan'),
  array('expansion' => 3, 'zone' => 'thurgadina'),
  array('expansion' => 3, 'zone' => 'thurgadinb'),
  array('expansion' => 3, 'zone' => 'velketor'),
  array('expansion' => 3, 'zone' => 'wakening'),
  array('expansion' => 3, 'zone' => 'westwastes'),


  array('expansion' => 4, 'zone' => 'acrylia'),
  array('expansion' => 4, 'zone' => 'akheva'),
  array('expansion' => 4, 'zone' => 'bazaar'),
  array('expansion' => 4, 'zone' => 'dawnshroud'),
  array('expansion' => 4, 'zone' => 'echo'),
  array('expansion' => 4, 'zone' => 'fungusgrove'),
  array('expansion' => 4, 'zone' => 'griegsend'),
  array('expansion' => 4, 'zone' => 'grimling'),
  array('expansion' => 4, 'zone' => 'hollowshade'),
  array('expansion' => 4, 'zone' => 'katta'),
  array('expansion' => 4, 'zone' => 'letalis'),
  array('expansion' => 4, 'zone' => 'maiden'),
  array('expansion' => 4, 'zone' => 'mseru'),
  array('expansion' => 4, 'zone' => 'netherbian'),
  array('expansion' => 4, 'zone' => 'nexus'),
  array('expansion' => 4, 'zone' => 'paludal'),
  array('expansion' => 4, 'zone' => 'scarlet'),
  array('expansion' => 4, 'zone' => 'shadeweaver'),
  array('expansion' => 4, 'zone' => 'shadowhaven'),
  array('expansion' => 4, 'zone' => 'sharvahl'),
  array('expansion' => 4, 'zone' => 'sseru'),
  array('expansion' => 4, 'zone' => 'ssratemple'),
  array('expansion' => 4, 'zone' => 'tenebrous'),
  array('expansion' => 4, 'zone' => 'thedeep'),
  array('expansion' => 4, 'zone' => 'thegrey'),
  array('expansion' => 4, 'zone' => 'twilight'),
  array('expansion' => 4, 'zone' => 'umbral'),
  array('expansion' => 4, 'zone' => 'vexthal'),

  array('expansion' => 5, 'zone' => 'poinnovation'),
  array('expansion' => 5, 'zone' => 'pofire'),
  array('expansion' => 5, 'zone' => 'potactics'),
  array('expansion' => 5, 'zone' => 'poair'),
  array('expansion' => 5, 'zone' => 'hohonora'),
  array('expansion' => 5, 'zone' => 'nightmareb'),
  array('expansion' => 5, 'zone' => 'podisease'),
  array('expansion' => 5, 'zone' => 'pojustice'),
  array('expansion' => 5, 'zone' => 'poknowledge'),
  array('expansion' => 5, 'zone' => 'ponightmare'),
  array('expansion' => 5, 'zone' => 'postorms'),
  array('expansion' => 5, 'zone' => 'potimea'),
  array('expansion' => 5, 'zone' => 'potimeb'),
  array('expansion' => 5, 'zone' => 'potorment'),
  array('expansion' => 5, 'zone' => 'potranquility'),
  array('expansion' => 5, 'zone' => 'povalor'),
  array('expansion' => 5, 'zone' => 'poearthb'),
  array('expansion' => 5, 'zone' => 'powater'),
  array('expansion' => 5, 'zone' => 'codecay'),
  array('expansion' => 5, 'zone' => 'hohonorb'),
  array('expansion' => 5, 'zone' => 'bothunder'),
  array('expansion' => 5, 'zone' => 'solrotower'),
  array('expansion' => 5, 'zone' => 'poeartha'),
  array('expansion' => 5, 'zone' => 'powar'),

  array('expansion' => 6, 'zone' => 'nadox'),
  array('expansion' => 6, 'zone' => 'dulak'),
  array('expansion' => 6, 'zone' => 'gunthak'),
  array('expansion' => 6, 'zone' => 'hatesfury'),
  array('expansion' => 6, 'zone' => 'torgiran'),
  array('expansion' => 6, 'zone' => 'chardokb'),
  array('expansion' => 6, 'zone' => 'soldungc'),


  array('expansion' => 7, 'zone' => 'guka'),
  array('expansion' => 7, 'zone' => 'gukb'),
  array('expansion' => 7, 'zone' => 'gukc'),
  array('expansion' => 7, 'zone' => 'gukd'),
  array('expansion' => 7, 'zone' => 'guke'),
  array('expansion' => 7, 'zone' => 'gukf'),
  array('expansion' => 7, 'zone' => 'gukg'),
  array('expansion' => 7, 'zone' => 'gukh'),
  array('expansion' => 7, 'zone' => 'mira'),
  array('expansion' => 7, 'zone' => 'mirb'),
  array('expansion' => 7, 'zone' => 'mirc'),
  array('expansion' => 7, 'zone' => 'mird'),
  array('expansion' => 7, 'zone' => 'mire'),
  array('expansion' => 7, 'zone' => 'mirf'),
  array('expansion' => 7, 'zone' => 'mirg'),
  array('expansion' => 7, 'zone' => 'mirh'),
  array('expansion' => 7, 'zone' => 'miri'),
  array('expansion' => 7, 'zone' => 'mirj'),
  array('expansion' => 7, 'zone' => 'mmca'),
  array('expansion' => 7, 'zone' => 'mmcb'),
  array('expansion' => 7, 'zone' => 'mmcc'),
  array('expansion' => 7, 'zone' => 'mmcd'),
  array('expansion' => 7, 'zone' => 'mmce'),
  array('expansion' => 7, 'zone' => 'mmcf'),
  array('expansion' => 7, 'zone' => 'mmcg'),
  array('expansion' => 7, 'zone' => 'mmch'),
  array('expansion' => 7, 'zone' => 'mmci'),
  array('expansion' => 7, 'zone' => 'mmcj'),
  array('expansion' => 7, 'zone' => 'ruja'),
  array('expansion' => 7, 'zone' => 'rujb'),
  array('expansion' => 7, 'zone' => 'rujc'),
  array('expansion' => 7, 'zone' => 'rujd'),
  array('expansion' => 7, 'zone' => 'ruje'),
  array('expansion' => 7, 'zone' => 'rujf'),
  array('expansion' => 7, 'zone' => 'rujg'),
  array('expansion' => 7, 'zone' => 'rujh'),
  array('expansion' => 7, 'zone' => 'ruji'),
  array('expansion' => 7, 'zone' => 'rujj'),
  array('expansion' => 7, 'zone' => 'taka'),
  array('expansion' => 7, 'zone' => 'takb'),
  array('expansion' => 7, 'zone' => 'takc'),
  array('expansion' => 7, 'zone' => 'takd'),
  array('expansion' => 7, 'zone' => 'take'),
  array('expansion' => 7, 'zone' => 'takf'),
  array('expansion' => 7, 'zone' => 'takg'),
  array('expansion' => 7, 'zone' => 'takh'),
  array('expansion' => 7, 'zone' => 'taki'),
  array('expansion' => 7, 'zone' => 'takj'),


  array('expansion' => 8, 'zone' => 'abysmal'),
  array('expansion' => 8, 'zone' => 'barindu'),
  array('expansion' => 8, 'zone' => 'ferubi'),
  array('expansion' => 8, 'zone' => 'ikkinz'),
  array('expansion' => 8, 'zone' => 'inkuta'),
  array('expansion' => 8, 'zone' => 'kodtaz'),
  array('expansion' => 8, 'zone' => 'natimbi'),
  array('expansion' => 8, 'zone' => 'nedaria'),
  array('expansion' => 8, 'zone' => 'qinimi'),
  array('expansion' => 8, 'zone' => 'qvic'),
  array('expansion' => 8, 'zone' => 'riwwi'),
  array('expansion' => 8, 'zone' => 'snlair'),
  array('expansion' => 8, 'zone' => 'snpool'),
  array('expansion' => 8, 'zone' => 'snplant'),
  array('expansion' => 8, 'zone' => 'sncrematory'),
  array('expansion' => 8, 'zone' => 'tacvi'),
  array('expansion' => 8, 'zone' => 'tipt'),
  array('expansion' => 8, 'zone' => 'txevu'),
  array('expansion' => 8, 'zone' => 'uqua'),
  array('expansion' => 8, 'zone' => 'vxed'),
  array('expansion' => 8, 'zone' => 'yxtta'),

  array('expansion' => 9, 'zone' => 'anguish'),
  array('expansion' => 9, 'zone' => 'bloodfields'),
  array('expansion' => 9, 'zone' => 'causeway'),
  array('expansion' => 9, 'zone' => 'chambersa'),
  array('expansion' => 9, 'zone' => 'chambersb'),
  array('expansion' => 9, 'zone' => 'chambersc'),
  array('expansion' => 9, 'zone' => 'chambersd'),
  array('expansion' => 9, 'zone' => 'chamberse'),
  array('expansion' => 9, 'zone' => 'chambersf'),
  array('expansion' => 9, 'zone' => 'dranik'),
  array('expansion' => 9, 'zone' => 'dranikhollowsa'),
  array('expansion' => 9, 'zone' => 'dranikhollowsb'),
  array('expansion' => 9, 'zone' => 'dranikhollowsc'),
  array('expansion' => 9, 'zone' => 'draniksscar'),
  array('expansion' => 9, 'zone' => 'harbingers'),
  array('expansion' => 9, 'zone' => 'provinggrounds'),
  array('expansion' => 9, 'zone' => 'riftseekers'),
  array('expansion' => 9, 'zone' => 'shadowrest'),
  array('expansion' => 9, 'zone' => 'wallofslaughter'),

  array('expansion' => 10, 'zone' => 'broodlands'),
  array('expansion' => 10, 'zone' => 'delvea'),
  array('expansion' => 10, 'zone' => 'delveb'),
  array('expansion' => 10, 'zone' => 'guildhall'),
  array('expansion' => 10, 'zone' => 'guildlobby'),
  array('expansion' => 10, 'zone' => 'stillmoona'),
  array('expansion' => 10, 'zone' => 'stillmoonb'),
  array('expansion' => 10, 'zone' => 'thenest'),
  array('expansion' => 10, 'zone' => 'thundercrest')
);

$zones = array();
foreach ($eqzones as $zone) {
  if ($zone['expansion'] <= $expansion_limit) {
    $zones[] = $zone['zone'];
  }
}
sort ($zones);

?>
